#include<iostream>
using namespace std;
int main()
{
    float grade;
    cout<<"Please enter grade:"<<endl;
    while (cin>>grade)
    {
        if(grade>=85) cout<<grade<<"GOOD"<<endl;
        if(grade<60) cout<<grade<<"FAIl"<<endl;
        else cout<<grade<<"OK"<<endl;
        cout<<"enter grade:"<<endl;
    }
    cout<<"The end:"<<endl;
}